package net.tv90.bfmccore.event;

import lombok.Getter;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

public class ServerExceptionEvent extends Event {

    @Getter
    private final Exception exception;

    public ServerExceptionEvent(Exception exception) {
        this.exception = exception;
    }

    private static final HandlerList Handlers = new HandlerList();
    public static HandlerList getHandlerList() {
        return Handlers;
    }
    @Override
    public HandlerList getHandlers() {
        return Handlers;
    }
}
